In a rectangular room with dimensions 30x12x12, a spider is located in the middle of one 12x12 wall one foot away from the ceiling. A fly is in the middle of the opposite wall one foot away from the floor. If the fly remains stationary, what is the shortest total distance the spider must crawl along the walls, ceiling, and floor in order to capture the fly?